bpf: encapsulate verifier log state into a structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 9 Oct 2017 17:30:10 +0000 (10:30 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Dec 2017 14:12:23 +0000 (14:12 +0000)
commita5881c0ae61d004b124cedcf8006ddc5c02deb50
tree2b3545bb7f07f20703d13cab4f779cc65ee2f392
parentfdd53ec0b360c2fb2000e4a8cc8554d462307162
bpf: encapsulate verifier log state into a structure

Put the loose log_* variables into a structure.  This will make
it simpler to remove the global verifier state in following patches.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name bpf-encapsulate-verifier-log-state-into-a-structure.patch
include/linux/bpf_verifier.h
kernel/bpf/verifier.c